package main

import (
	"fmt"
	"math"
)

func main() {
	strByte := []byte{}
	strByte = append(strByte, 'a', 'c', 'b')
	strByte = append(strByte, 'd', 'e')
	s := string(strByte)
	fmt.Println(s)
	a := 3
	b := 5
	math.Min(float64(a), float64(b))

	println(s[2])

	str1 := "abc"
	str2 := "abc"
	println(str1 == str2)

	str3 := "abcdefgsdfe"
	s2 := str3[1:5]
	fmt.Println(s2) //bcde
	fmt.Println(s2[0])

	var testStr string //默认是 ""
	fmt.Println(testStr)
	fmt.Println(&testStr) //0xc000042260  不是nil

}
